var Mock = require('mockjs')
// 质量要求表单内容
Mock.mock('http://127.0.0.1:7002/qualityRequireOperaForm', 'get', {
  'ret': 0,
  tableData: [
    {
      label: '创建者',
      prop: 'creator',
      placeholder: '请输入创建者',
      val: 'creator',
      type: 'string'
    },
    {
      label: '描述',
      prop: 'describe',
      placeholder: '请输入描述',
      val: 'describe',
      type: 'string'
    },
    {
      label: '批号',
      prop: 'batch_number',
      placeholder: '请输入批号',
      val: 'batch_number',
      type: 'string'
    },
    {
      label: '种类',
      prop: 'type',
      placeholder: '请输入种类',
      val: 'type',
      type: 'string'
    },
    {
      label: '规格类型',
      prop: 'norms_type',
      placeholder: '请输入规格类型',
      val: 'norms_type',
      type: 'string'
    },
    {
      label: '数量（支）',
      prop: 'amount',
      placeholder: '请输入数量（支）',
      val: 'amount',
      type: 'int'
    },
    {
      label: '根合格率',
      prop: 'pass_rate',
      placeholder: '请输入根合格率',
      val: 'pass_rate',
      type: 'float'
    },
    {
      label: '电阻率<=',
      prop: 'incoming_resistivity',
      placeholder: '请输入来料焙烧品电阻率<=',
      val: 'incoming_resistivity',
      type: 'float'
    },
    {
      label: '实际范围值',
      prop: 'infact_resistivity',
      placeholder: '请输入实际抽测焙烧品电阻率范围值',
      val: 'infact_resistivity',
      type: 'float'
    },
    {
      label: '要求电阻率',
      prop: 'ask_resistivity',
      placeholder: '请输入合同要求石墨化后电阻率',
      val: 'ask_resistivity',
      type: 'float'
    },
    {
      label: '外协负责人',
      prop: 'principal',
      placeholder: '请输入外协负责人名称',
      val: 'principal',
      type: 'string'
    }
  ]
})
